//
//  AppDelegate.h
//  CoreData-Demo
//
//  Created by 赵国腾 on 2020/4/20.
//  Copyright © 2020 gaven. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
#import "Item.h"

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property(nonatomic, strong) UIWindow *window;

@property(nonatomic, strong) NSManagedObjectContext *managedObjectContext;
@property(nonatomic, strong) Item *rootItem;

@property (readonly, strong) NSPersistentContainer *persistentContainer;
- (void)saveContext;


@end

